-
Notifications
You must be signed in to change notification settings - Fork 41
Add handling events by navigators not only on the top of the tree #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll be good to extract out the child listener stuff to a separate hook
Could you take a look on tests pls? 😄 Sth's wrong |
044127a
to
70f431c
Compare
70f431c
to
063c35a
Compare
I have rebased the PR against master. Regarding tests, looks like a legit issue, no? The child state doesn't seem to be initialised properly in the global state. I found another issue: There's probably some stale state being updated somewhere. I think moving state to local will make it easier to handle. |
Codecov Report
@@ Coverage Diff @@
## master #2 +/- ##
==========================================
- Coverage 95.16% 92.94% -2.22%
==========================================
Files 11 13 +2
Lines 124 156 +32
Branches 25 33 +8
==========================================
+ Hits 118 145 +27
- Misses 5 10 +5
Partials 1 1
Continue to review full report at Codecov.
|
07e6412
to
62b7128
Compare
I have fixed the tests and refactored the code a bit. Please take a look when you get time 😁 |
62b7128
to
e24469b
Compare
Merged in 5eb12aa |
No description provided.